<div id="new-product">
    	<div class="top-title">
			<div class="title">
				<i class="fa fa-chevron-right"></i><span><?php echo ' '.mb_strtoupper($pro_type->type_name, 'UTF-8')?></span>
			</div>
		</div>
	   <div id="list-products" class="list-products">
		<div class="row">
			<?php if(!empty($items)): foreach($items as $item): ?>
			  <div class="col-sm-4 col-xs-12 col-md-3 one-products">
			    <a href="<?php echo $this->createUrl('/product/detail', array('id' => $item->id)) ?>" class="thumbnail fuel-thumb" title="<?php echo $item->p_name ?>">
			      <img src="<?php echo THclass::phpThumb(Yii::app()->baseUrl . $item->images, 130); ?>" alt=""/>
			    </a>
			    <div class="nameprice-product">
			    	<div class="fuel-pname">
				      	<span><?php echo $item->p_name ?></span>
				    </div>
				    <div class="fuel-pprice">
				      	<span><?php echo number_format($item->unit_price, 0, "", ".") ?> VNĐ</span>
				    </div>
			    </div>
			  </div>
		  	<?php endforeach; else: ?>
		  	  <div class="col-md-12 col-xs-12">Đang cập nhật ... </div>
		  	<?php endif;?>
		</div>
	</div>
</div>
<div id="pagination">
    <?php 
    $this->widget('CLinkPager', array(
    'pages'       => $pages,
    'htmlOptions' => array('class' => 'pager'),
    'header'      => ''
	));
    ?>
</div>